package com.one.group.admin.mapper;


import com.mybatisflex.core.BaseMapper;
import com.one.group.model.dto.EquipmentQueryDto;
import com.one.group.model.entity.Equipment;
import com.one.group.model.vo.EquipmentInfoVo;
import com.one.group.model.vo.EquipmentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * {@code @Create:}  2025-09-28  14 : 53
 * {@code @Author:} Cherry
 * {@code @ToUser:} 凡是发生,皆有利于我。
 * ------------------------------------
 * {@code @note:}
 */

@SuppressWarnings({"all"})
public interface EquipmentMapper extends BaseMapper<Equipment> {
    List<EquipmentVo> findEquipmentByQueryDto(EquipmentQueryDto equipmentQueryDto);


    boolean insertEquipment(Equipment equipment);

    EquipmentInfoVo getInfoById(@Param("id") Long id, @Param("tenantId") Long tenantId);
}
